<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>회원정보 변경</title>
<link type="text/css" rel="stylesheet" href="/spring-GOP/css/common.css">
<link type="text/css" rel="stylesheet" href="/spring-GOP/css/style.css">
<link type="text/css" rel="stylesheet"
	href="/spring-GOP/css/myprimus/style_50.css">
<link type="text/css" rel="stylesheet"
	href="/spring-GOP/css/myprimus/style_5050.css">
</head>
<script src="http://code.jquery.com/jquery-1.8.0.js"></script>
<script type="text/javascript" src="/spring-GOP/js/common.js"></script>
<script type="text/javascript"
	src="/spring-GOP/js/jquery.validate.unobtrusive.min.js"></script>
<script type="text/javascript" src="/spring-GOP/js/Request_QNA.js"></script>

<script type="text/javascript">
	function editCheck() {

		var emailid = $("#email_id").val();
		var domain = $("#email_domain").val();

		var Phead = $("#mobile_first_select").val();
		var Pcenter = $("#HandPhoneCenter").val();
		var Ptail = $("#HandPhoneTail").val();

		if (emailid == "" || domain == "") {
			alert("이메일을 입력해주세요.");
			$("#email_id").focus();
			return;
		} else if (Phead == "" || Pcenter == "" || Ptail == "") {
			alert("핸드폰번호를 입력해주세요.");
			$("#Phead").focus();
			return;
		}
		document.forms["frmEdit"].submit();
	}
</script>
<body>
	<div id="wrapper">
		<!-- container -->
		<div id="container">
			<!-- content -->
			<div id="content">
				<!-- main-shortCut -->
				<div id="main-shortCut">
					<!-- sub-main-section -->
					<div class="sub-main-section c50 c5050">
						<div class="page-type3">

							<h2>
								<p>MY Primus</p>
								MY <span>Primus</span>
							</h2>
						</div>

						<!-- listTab mainTab -->
						<div class="listTab mainTab">
							<ul style="height: 1300px;">
								<li>
									<p class="line" style="width: 990px; display: none;"></p>
									<h3 class="tab-title">
										<a href="/spring-GOP/myprimus/reservation/reservation"
											title="예매확인/취소"><span style="width: 196px;">MY
												Primus</span></a>
									</h3> <!-- main-tab tab-content -->
									<ul class="ul-tab main-tab tab-content" style="display: none;">
									</ul> <!-- //main-tab tab-content -->
								</li>
								<li>
									<p class="line" style="width: 990px; display: none;"></p>
									<h3 class="tab-title">
										<a href="/spring-GOP/myprimus/mypoint/mypoint" title="MY포인트"><span
											style="width: 196px;">MY 포인트</span></a>
									</h3> <!-- main-tab tab-content -->
									<ul class="ul-tab main-tab tab-content" style="display: none;">
									</ul> <!-- //main-tab tab-content -->
								</li>

								<li>
									<p class="line" style="width: 990px; display: block;"></p>
									<h3 class="tab-title on">
										<a href="/spring-GOP/myprimus/meminfomodileave/userinfolog"
											title="회원정보수정/탈퇴"><span style="width: 196px;">회원정보수정/탈퇴</span></a>
									</h3> <!-- main-tab tab-content -->
									<div class="ul-tab main-tab tab-content margin-top40"
										style="width: 948px; padding: 0px 20px; display: block;">
										<div>
											<h4 class="margin-top5 margin-bottom5">회원정보수정/탈퇴</h4>
											<!-- UserInfo2 -->
											<div class="UserInfo2">
												<div class="mem-edit-section">
													<p class="input-info">*표시는 필수입력사항입니다. 아이디, 이름은 수정하실 수
														없습니다.</p>
													<div class="clear_both"></div>
													<div class="line-ccc margin-top5 margin-bottom5"></div>
													<form	id="frmEdit" method="post" name="frmEdit"
														novalidate="novalidate">
														<fieldset>
															<legend>회원가입 양식폼</legend>
															<div class="input-box">
																<dl>
																	<dt class="dt-valign-top dt-margin-top0">이름</dt>
																	<dd>${user.getMember_name()}</dd>
																</dl>
																<div class="line-e2e2e2"></div>
																<dl class="margin-top15">
																	<dt class="essential dt-margin-top2">생년월일</dt>
																	<dd>
																		<p>${user.getMember_birth()}</p>
																	</dd>
																	<dd></dd>
																</dl>
																<div class="line-e2e2e2"></div>
																<dl>
																	<dt class="dt-valign-top dt-margin-top0">아이디</dt>
																	<dd>${user.getMember_id()}</dd>
																	<input type="hidden" name = "member_id" value="${user.getMember_id()}">
																</dl>
																<div class="line-e2e2e2"></div>

																<dl>
																	<dt class="essential pw_point">비밀번호</dt>
																	<dd>
																		<a id="pwd_txt" href="javascript:poppwd()"
																			class="button h30 w120 white" title="새창"><b>비밀번호
																				변경</b></a>
																	</dd>
																</dl>


																<script>
																	function poppwd() {

																		window.open(
																						"/spring-GOP/myprimus/meminfomodileave/campsite/userpwd",
																						"EventFrame",
																						"menubar=no,width=600,height=400,toolbar=no");
																	}
																</script>





																<div class="line-e2e2e2"></div>
																<dl>
																	<dt class="essential dt-valign-top">
																		<label for="email_select">이메일</label>
																	</dt>
																	<dd>
																		<p>다음 메일(hanmail.net/daum.net)의 경우 메일이 정상적으로 발송되지
																			않을 수 있습니다.</p>
																	</dd>
																	<dd>
																		<span class="select-box email-select"
																			style="background-position: 119px 50%;"> <span
																			class="selected-text">선택하세요</span> <select
																			title="이메일 선택" id="email_select" name="etail">
																				<option value="">선택하세요</option>
																				<option value="naver.com">naver</option>
																				<option value="chol.com">chol</option>
																				<option value="dreamwiz.com">dreamwiz</option>
																				<option value="empal.com">empal</option>
																				<option value="freechal.com">freechal</option>
																				<option value="gmail.com">gmail</option>
																				<option value="hanafos.com">hanafos</option>
																				<option value="hotmail.com">hotmail</option>
																				<option value="korea.com">korea</option>
																				<option value="lycos.com">lycos</option>
																				<option value="nate.com">nate</option>
																				<option value="netian.com">netian</option>
																				<option value="paran.com">paran</option>
																				<option value="hitel.com">hitel</option>
																				<option value="yahoo.co.kr">yahoo korea</option>
																				<option value="yahoo.com">yahoo</option>
																				<option value="I">직접 입력</option>
																		</select>
																		</span> <span> <label for="email_id" class="hide">이메일
																				아이디 입력</label> <input type="text" id="email_id"
																			class="input-box email-front-txt" name="eheader"
																			title="이메일 아이디 입력" value=""></span> <span
																			class="email-at">@</span> <span> <label
																			for="email_domain" class="hide">이메일 뒷 주소 입력</label> <input
																			type="text" id="email_domain"
																			class="input-box email-end-txt" name="email_domain"
																			title="이메일 뒷 주소 입력" value="" readonly></span>
																	</dd>
																</dl>
																<div class="line-e2e2e2"></div>
																<dl>
																	<dt class="essential">
																		<label for="mobile_first_select">휴대폰번호</label>
																	</dt>
																	<dd>
																		<span
																			class="select-box mobile-first-select phone-width"
																			style="background-position: 59px 50%;"> <span
																			class="selected-text">010</span> <select
																			title="휴대폰 앞자리 번호를 선택" id="mobile_first_select"
																			name="header">
																				<option value="010" selected>010</option>
																				<option value="011">011</option>
																				<option value="016">016</option>
																				<option value="017">017</option>
																				<option value="018">018</option>
																				<option value="019">019</option>
																		</select>
																		</span>
																		<div class="mid-hyphen mid-hyphen1"></div>
																		<span> <label for="HandPhoneCenter"
																			class="hide">핸드폰 중간자리 번호를 입력</label> <input
																			class="input-box mobile-mid-select phone-width"
																			data-val="true"
																			data-val-length="핸드폰 중간자리는  3~4자리 이내 입니다."
																			data-val-length-max="4" data-val-length-min="3"
																			data-val-regex="핸드폰 중간자리는 숫자만 입력가능합니다."
																			data-val-regex-pattern="^\d+$"
																			data-val-required="핸드폰을 중간값 입력하세요"
																			id="HandPhoneCenter" maxlength="4"
																			name="center" title="휴대폰 중간자리 번호를 입력"
																			type="text" value="">
																		</span>
																		<div class="mid-hyphen mid-hyphen2"></div>
																		<span> <label for="HandPhoneTail" class="hide">핸드폰
																				뒷자리 번호를 입력</label> <input
																			class="input-box mobile-end-select phone-width"
																			data-val="true"
																			data-val-length="핸드폰 뒷자리는 3~4자리 이내 입니다."
																			data-val-length-max="4" data-val-length-min="3"
																			data-val-regex="핸드폰 끝자리는 숫자만 입력가능합니다."
																			data-val-regex-pattern="^\d+$"
																			data-val-required="핸드폰을 끝값 입력하세요" id="HandPhoneTail"
																			maxlength="4" name="tail"
																			title="휴대폰 뒷자리 번호를 입력" type="text" value="">
																		</span>
																	</dd>
																	<dd>
																		<span class="field-validation-valid"
																			data-valmsg-for="HandPhoneCenter"
																			data-valmsg-replace="true" style="color: red"></span>
																		<span class="field-validation-valid"
																			data-valmsg-for="HandPhoneTail"
																			data-valmsg-replace="true" style="color: red"></span>
																	</dd>
																</dl>
																<!-- <div class="line-e2e2e2"></div> -->

																<input type="hidden" id="hidZipCode" name="hidZipCode"
																	value="157280 "> <input type="hidden"
																	id="hidBaseAddr" name="hidBaseAddr" value=""> <input
																	type="hidden" id="ansaryName" name="ansaryName"
																	value=""> <input type="hidden" id="ansaryDay"
																	name="ansaryDay" value=""> <input type="hidden"
																	id="hobbyType" name="hobbyType" value=""> <input
																	type="hidden" id="interestcode" name="interestcode"
																	value=""> <input type="hidden"
																	id="reqMovieType" name="reqMovieType" value="">


																<input type="hidden" id="_birthDay" name="_birthDay"
																	value=""> <input type="hidden" id="_birth_type"
																	name="_birth_type" value=""> <input
																	type="hidden" id="_homeComapanyType"
																	name="_homeComapanyType" value=""> <input
																	type="hidden" id="_hidZipCode" name="_hidZipCode"
																	value=""> <input type="hidden"
																	id="_hidBaseAddr" name="_hidBaseAddr" value="">
																<input type="hidden" id="_Address2" name="_Address2"
																	value=""> <input type="hidden"
																	id="_handphoneHeader" name="_handphoneHeader" value="">
																<input type="hidden" id="_handphoneCenter"
																	name="_handphoneCenter" value=""> <input
																	type="hidden" id="_handPhoneTail" name="_handPhoneTail"
																	value=""> <input type="hidden" id="_workType"
																	name="_workType" value=""> <input type="hidden"
																	id="_ReqTheaterType" name="_ReqTheaterType" value="">
																<input type="hidden" id="_emailID" name="_emailID"
																	value=""> <input type="hidden"
																	id="_email_domainName" name="_email_domainName"
																	value=""> <input type="hidden" id="_emailYN"
																	name="_emailYN" value=""> <input type="hidden"
																	id="_smsYN" name="_smsYN" value=""> <input
																	type="hidden" id="_weddingYN" name="_weddingYN"
																	value=""> <input type="hidden" id="_ansaryName"
																	name="_ansaryName" value=""> <input
																	type="hidden" id="_ansaryDay" name="_ansaryDay"
																	value=""> <input type="hidden"
																	id="_reqMovieType" name="_reqMovieType" value="">
																<input type="hidden" id="_hobbyType" name="_hobbyType"
																	value=""> <input type="hidden"
																	id="_interestcode" name="_interestcode" value="">
																<input type="hidden" id="_phoneHeader"
																	name="_phoneHeader" value=""> <input
																	type="hidden" id="_phoneCenter" name="_phoneCenter"
																	value=""> <input type="hidden" id="_phoneTail"
																	name="_phoneTail" value=""> <input
																	type="hidden" id="_password" name="_password" value="">

															</div>
														</fieldset>
													</form>
													<div class="line-ccc"></div>
													<div class="mem-edit-btn margin-top30">
														<a href="/spring-GOP/myprimus/meminfomodileave/userleave"
															class="button h30 w100 white left-btn" target=""
															title="회원탈퇴하기"> <b>회원탈퇴</b>
														</a> <span class="right-btn"> <a
															href="javascript:editCheck();"
															class="button h30 w75 orange margin-right5" target=""
															title="수정하기"><b>수정</b></a> <a href="userinfolog"
															class="button h30 w75 white" target="" title="취소하기"><b>취소</b></a>
														</span>
													</div>
												</div>
											</div>
											<!-- //UserInfo2 -->
										</div>

									</div> <!-- //main-tab tab-content -->
								</li>

							</ul>
						</div>
						<!-- //listTab mainTab -->

					</div>
					<!-- //sub-main-section -->
				</div>
				<!-- //main-shortCut -->
			</div>
			<!-- //content -->
		</div>
		<!-- //container -->


	</div>
</body>
</html>

